package com.stool.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Felix YF Dong
 * @Description
 * @Date 2023/2/13
 */
@FeignClient(value = "nacos-provider", fallback = ProviderFallbackService.class)
public interface IProviderService {

    @GetMapping(value = "/provider/{id}")
    public String providerQL(@PathVariable("id") String id);
}
